package com.ucampus.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Article {
    private Integer id;
    private long userId;
    private String username;
    private String content;
    private String time;
    private long likes;
    @JsonIgnore
    private String img;
}
